//----------------------------------Include------------------------------------
#include "my_mcu.h"
#include "my_board.h"
//-----------------------------------------------------------------------------

//--------------------------------Public Func----------------------------------
void MyBrd_Init(void)
{ 
  MyMcu_Disable_Jtag();
  
  MyMcu_Int_Disable();
  MyMcu_SysClock();
  MyMcu_PriGrpCfg();
  
  MyMcu_Init_DI();
  MyMcu_Init_DO();
  
  //MyMcu_Init_Uart1(9600);

  MyMcu_Init_Tim2();
  MyMcu_Init_Tim4();
  
  MyMcu_Init_SPI1();
  MyMcu_Init_Adc();
  
  MyMcu_Init_Wdt();
  MyMcu_Int_Enable();
}
//------------------------------------EOF--------------------------------------



